package org.framework.define.bean.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the tbl_user_blacklist database table.
 * 
 */
@Entity
@Table(name="tbl_user_blacklist")
public class TblUserBlacklist implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique=true, nullable=false)
	private int id;

	@Column(name="black_type", nullable=false, length=5)
	private String blackType;

	@Column(name="black_user_id", nullable=false)
	private String blackUserId;

	@Column(name="black_user_name", nullable=false, length=20)
	private String blackUserName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time", nullable=false)
	private Date createTime;

	@Column(nullable=false, length=250)
	private String reason;

	@Column(name="reason_pic", length=255)
	private String reasonPic;

	@Column(name="remaining_day", nullable=false)
	private int remainingDay;

	@Column(nullable=false)
	private int state;

	@Column(name="user_id", nullable=false)
	private String userId;

	public TblUserBlacklist() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBlackType() {
		return this.blackType;
	}

	public void setBlackType(String blackType) {
		this.blackType = blackType;
	}

	public String getBlackUserId() {
		return this.blackUserId;
	}

	public void setBlackUserId(String blackUserId) {
		this.blackUserId = blackUserId;
	}

	public String getBlackUserName() {
		return this.blackUserName;
	}

	public void setBlackUserName(String blackUserName) {
		this.blackUserName = blackUserName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getReasonPic() {
		return this.reasonPic;
	}

	public void setReasonPic(String reasonPic) {
		this.reasonPic = reasonPic;
	}

	public int getRemainingDay() {
		return this.remainingDay;
	}

	public void setRemainingDay(int remainingDay) {
		this.remainingDay = remainingDay;
	}

	public int getState() {
		return this.state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}